#include <logger.h>

class Object {
public:
    void Print()
    {
        VALUE_LOGGER(val);
    }

private:
    int val = 1;
};

void func()
{
    auto obj = new Object();
    obj->Print();
    delete obj;
    delete obj;
}

int main()
{
    func();
    return 0;
}
